interface Person{
  name:string;
  age:number;
  gender?:'male'|'female';
}
let p: Required<Person> = {
  name: 'zhang',
  age: 10,
  gender: 'male'
}